package io.dcloud.player;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.LinearLayout;

import io.dcloud.player.widget.EWebView;

/**
 * Created by lxy on 2017/4/20.
 */

public class WebActivity extends AppCompatActivity {

    private EWebView web;
    private LinearLayout ll_web;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_web);
        ll_web = (LinearLayout) findViewById(R.id.ll_web);
        web = new EWebView(ll_web);
        String url2 = getIntent().getStringExtra("url2");
        web.html(url2);
    }

    @Override
    protected void onDestroy() {
        web.onDestroy();
        super.onDestroy();

    }
}
